<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
selection_test(
  [
  '<div contenteditable>',
    '<ul>',
      '<li>AB|C</li>',
      '<li>ABC^</li>',
    '</ul>',
  '</div>'
  ],
  'insertorderedlist',
  [
  '<div contenteditable>',
    '<ol>',
      '<li>AB^C</li>',
      '<li>ABC|</li>',
    '</ol>',
  '</div>'
  ],
  "This InsertOrderedList switches the type of a list with multiple list items");
</script>
